<nav class="blog-nav layui-header">
    <div class="blog-container">
        <!-- QQ互联登陆 -->
        {{/*            <a href="" class="blog-user">*/}}
        {{/*                <i class="fa fa-qq"></i>*/}}
        {{/*            </a>*/}}
        {{/*            <a href="" class="blog-user layui-hide">*/}}
        {{/*                <img src="/static/img/tingyu.jpg" alt="tingyu" title="tingyu" style="width: 80px;height: 80px" />*/}}
        {{/*            </a>*/}}

        <!-- logo -->
        <a class="blog-logo" href="/">※听雨※</a>
        <!-- 导航菜单 -->
        <ul class="layui-nav" lay-filter="nav">
            <li class="layui-nav-item  {{if equrl .Path "/"}} layui-this {{end}}">
                <a href="/"><i class="fa fa-home fa-fw"></i>&nbsp;网站首页</a>
            </li>
            <li class="layui-nav-item {{if equrl .Path "/home/article"}} layui-this {{end}}">
                <a href="/home/article"><i class="fa fa-file-text fa-fw"></i>&nbsp;文章专栏</a>
            </li>
            <li class="layui-nav-item {{if equrl .Path "/home/archive"}} layui-this {{end}}">
                <a href="/home/archive"><i class="fa fa-bookmark fa-fw"></i>&nbsp;文章归档</a>
            </li>
{{/*            <li class="layui-nav-item {{if equrl .Path "/home/resource"}} layui-this {{end}}">*/}}
{{/*                <a href="/home/resource"><i class="fa fa-cloud-download fa-fw"></i>&nbsp;资源分享</a>*/}}
{{/*            </li>*/}}
            <li class="layui-nav-item {{if equrl .Path "/home/about"}} layui-this {{end}}">
                <a href="/home/about"><i class="fa fa-info fa-fw"></i>&nbsp;关于本站</a>
            </li>
        </ul>
        <!-- 手机和平板的导航开关 -->
        <a class="blog-navicon" href="javascript:;">
            <i class="fa fa-navicon"></i>
        </a>
    </div>
</nav>